﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FrameWork.Output
{
    /// <summary>
    /// 为输出采集器相关事件提供数据存储
    /// </summary>
    public class OutputEventArgs:EventArgs
    {
        /// <summary>
        /// 表示该事件包含的输出项实例
        /// </summary>
        public OutputItem Item { get; private set; }
        /// <summary>
        /// 通过指定的数据初始化事件数据实例
        /// </summary>
        /// <param name="item"></param>
        public OutputEventArgs(OutputItem item)
        {
            this.Item = item;
        }
    }
}
